package io.framework.modules.water.dao;

import io.framework.common.dao.BaseDao;
import io.framework.modules.water.entity.WaterNearshoreEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 近岸海域海水
 *
 * @author Gujq email
 * @since 1.0.0 2020-10-15
 */
@Mapper
public interface WaterNearshoreDao extends BaseDao<WaterNearshoreEntity> {

    /**
     * 根据时间删除历史数据
     */
    void deleteInfoByDate(@Param("year") String year);

    Integer checkData(String month);

    WaterNearshoreEntity getWaterInfoById(Map<String, Object> params);

}
